/* 飞书Lark主题 - 基于飞书文档风格 */
.markdown-theme-lark {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.74;
  color: #1f2329;
  background-color: #fff;
  padding: 0 10px;
}

.markdown-theme-lark h1,
.markdown-theme-lark h2,
.markdown-theme-lark h3,
.markdown-theme-lark h4,
.markdown-theme-lark h5,
.markdown-theme-lark h6 {
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 16px;
  line-height: 1.25;
  color: #1f2329;
}

.markdown-theme-lark h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0064fa;
}

.markdown-theme-lark h2 {
  font-size: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.markdown-theme-lark h3 {
  font-size: 18px;
}

.markdown-theme-lark h4 {
  font-size: 16px;
}

.markdown-theme-lark h5 {
  font-size: 15px;
}

.markdown-theme-lark h6 {
  font-size: 14px;
  color: #646a73;
}

.markdown-theme-lark p {
  margin-bottom: 16px;
  line-height: 1.74;
}

.markdown-theme-lark a {
  color: #3370ff;
  text-decoration: none;
}

.markdown-theme-lark a:hover {
  text-decoration: underline;
}

.markdown-theme-lark strong {
  font-weight: 600;
}

.markdown-theme-lark em {
  font-style: italic;
}

.markdown-theme-lark del {
  text-decoration: line-through;
}

.markdown-theme-lark ul,
.markdown-theme-lark ol {
  padding-left: 2em;
  margin-bottom: 16px;
}

.markdown-theme-lark ul {
  list-style-type: disc;
}

.markdown-theme-lark ol {
  list-style-type: decimal;
}

.markdown-theme-lark li {
  margin-bottom: 4px;
}

.markdown-theme-lark li + li {
  margin-top: 0.25em;
}

.markdown-theme-lark blockquote {
  border-left: 4px solid #3370ff;
  padding: 0 16px;
  color: #646a73;
  background-color: #f2f7ff;
  margin: 0 0 16px 0;
}

.markdown-theme-lark code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  background-color: #f5f6f7;
  border-radius: 3px;
  padding: 0.2em 0.4em;
  font-size: 85%;
  color: #3370ff;
}

.markdown-theme-lark pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  background-color: #f5f6f7;
  border-radius: 6px;
  padding: 16px;
  overflow: auto;
  margin-bottom: 16px;
  font-size: 85%;
  line-height: 1.45;
}

.markdown-theme-lark pre code {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  color: #1f2329;
}

.markdown-theme-lark table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
  display: block;
  overflow-x: auto;
}

.markdown-theme-lark table th,
.markdown-theme-lark table td {
  border: 1px solid #e5e6eb;
  padding: 8px 12px;
}

.markdown-theme-lark table th {
  background-color: #f5f6f7;
  font-weight: 600;
}

.markdown-theme-lark table tr {
  background-color: #fff;
}

.markdown-theme-lark table tr:nth-child(2n) {
  background-color: #f9f9fa;
}

.markdown-theme-lark img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
  border-radius: 4px;
}

.markdown-theme-lark hr {
  height: 1px;
  padding: 0;
  margin: 24px 0;
  background-color: #e5e6eb;
  border: 0;
}

/* 暗色模式 */
.dark-mode .markdown-theme-lark {
  color: #e5e6eb;
  background-color: #1f2329;
}

.dark-mode .markdown-theme-lark h1,
.dark-mode .markdown-theme-lark h2,
.dark-mode .markdown-theme-lark h3,
.dark-mode .markdown-theme-lark h4,
.dark-mode .markdown-theme-lark h5 {
  color: #e5e6eb;
}

.dark-mode .markdown-theme-lark h1 {
  color: #4c8dff;
}

.dark-mode .markdown-theme-lark h2 {
  border-bottom-color: #3a3f4a;
}

.dark-mode .markdown-theme-lark h6 {
  color: #a0a4aa;
}

.dark-mode .markdown-theme-lark a {
  color: #4c8dff;
}

.dark-mode .markdown-theme-lark blockquote {
  border-left-color: #4c8dff;
  color: #a0a4aa;
  background-color: #2b3139;
}

.dark-mode .markdown-theme-lark code {
  background-color: #2b3139;
  color: #4c8dff;
}

.dark-mode .markdown-theme-lark pre {
  background-color: #2b3139;
}

.dark-mode .markdown-theme-lark pre code {
  color: #e5e6eb;
}

.dark-mode .markdown-theme-lark table th,
.dark-mode .markdown-theme-lark table td {
  border-color: #3a3f4a;
}

.dark-mode .markdown-theme-lark table th {
  background-color: #2b3139;
}

.dark-mode .markdown-theme-lark table tr {
  background-color: #1f2329;
}

.dark-mode .markdown-theme-lark table tr:nth-child(2n) {
  background-color: #2b3139;
}

.dark-mode .markdown-theme-lark hr {
  background-color: #3a3f4a;
} 